<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>问题详情弹窗</title>
    <style>
        td{border:1px solid}
        table{border:1px solid; margin: 0px auto;}
        input{background-color: transparent;border:0;width: 400px}
        textarea{background-color: transparent;border:0;font-size: 15px}
    </style>

    <script type="text/javascript" src="../static/js/jquery-1.10.2.min.js"></script>

</head>

<body>
<!-- col-gray：用于设置问答知识库首页新增+、批量导入、批量删除按钮共有的css样式属性 -->

    <div id= "alertadd" >
<!-- alertadd：用于js调用显示问题详情表单 style="display: none" -->
        <form action="/KnowledgeBase/alertAdd" method="post">
            <table border="0" cellspacing="0" cellpadding="0">
                <tr bgcolor="#B0C4DE">
                    <th style="color: #4876FF"><b>问题新增</b></th>
                    <th align="right"><button type="submit" class="save-btn"  style="background-color: #D3D3D3">保存</button></th>
                </tr>
                <input th:value="${user.username}" type="hidden" name="createUser" id="username">
                <input th:value="${user.sort}" type="hidden" name="createSort" id="sort">
                <input type="hidden" name="qId">
                <tr bgcolor="#E5E5E5">
                    <td ><b>标准问题</b></td>
                    <td><input type="text" name="question" id="create_standard_question"/></td>
                </tr>
                <tr bgcolor="#BFBFBF">
                    <td >&nbsp;&nbsp;&nbsp;&nbsp;<b>领域</b>&nbsp;&nbsp;&nbsp;&nbsp;</td>
                    <td><input type="text" name="field" id="create_field"/></td>
                </tr>
                <tr bgcolor="#E5E5E5">
                    <td >&nbsp;&nbsp;&nbsp;&nbsp;<b>意图</b>&nbsp;&nbsp;&nbsp;&nbsp;</td>
                    <td><input type="text" name="intention" id="create_intension"/></td>
                </tr>
                <tr bgcolor="#BFBFBF">
                    <td >&nbsp;&nbsp;<b>关键词</b>&nbsp;&nbsp;</td>
                    <td><input type="text" name="keyword" id="create_keyword"/></td>
                </tr>
                <tr bgcolor="#BFBFBF">
                    <td ><b>标准答案</b></td>
                    <td><input type="text" name="answer" id="create_answer"/></td>
                </tr>
                </tr>
                <tr bgcolor="#E5E5E5">
                    <td valign="top"><b>相似问题</b></td>
                    <td>
                        <textarea id="create_similar_question" name="similarQuestion" rows="5" cols="50"></textarea>
                    </td>
                </tr>
            </table>
        </form>
    </div>
</body>
</html>